namespace Ln.Fram.Core.RestSharp;

public class RestOutputDto
{
	public int Code { get; set; }
	public string Message { get; set; }
}

public class RestOutputDataDto<TData> : RestOutputDto
{
	public TData Data { get; set; }
}

public class RestOutputResultDto<TResult> : RestOutputDto
{
	public TResult Result { get; set; }
}

public class RestListOutputDataDto<TData> : RestOutputDto
{
	public List<TData> Data { get; set; }
}

public class RestListOutputResultDto<TResult> : RestOutputDto
{
	public List<TResult> Result { get; set; }
}

public class RestOutputTokenDto : RestOutputDto
{
	public string Token { get; set; }
	public string UserId { get; set; }
}